#include <iostream>
using namespace std;

int main()
{
    int N, M;
    cin >> N >> M;
    string target = "";
    cin.get();
    int judge = 0;
    for (int i = 0; i < N; i++)
    {
        string c;
        getline(cin, c);
        if ((c.find("easy") == c.npos) && (c.find("qiandao") == c.npos))
        {
            // 非签到题
            if (M == 0 && judge == 0)
            {
                target = c;
                judge = 1;
            }
            else
            {
                M--;
            }
        }
    }
    if (judge)
    {
        cout << target;
    }
    else
    {
        cout << "Wo AK le";
    }
    return 0;
}